package com.hellojava.entity;

import com.hellojava.bean.UUIDEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *  ocr 历史记录
 * @author dengjihai
 * @create 2017-12-22
 **/
@Entity
@Table(name = "ocr_history")
public class OcrHistory extends UUIDEntity {

    //标题概述
    @Column(name = "title")
    private String title;

    //解析内容
    @Column(name = "content")
    private String content;

    //用户openid
    @Column(name = "open_id")
    private String openId;

    //百度返回的logid
    @Column(name = "log_id")
    private String logId;

    // 图片url
    @Column(name = "img_url")
    private String imgUrl;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }
}
